{extend name='layout/main' /}

{block name='main'}
<div class="title">资金查询 > 实时资金查询</div>
<div class="filter">
    <form action="/trade/coin/" method="get" id="filter_form">
        <span>客户名称：<input type="text" name="user"  value="{$user}"></span>
        <span>交易账号：<input type="text" name="account"  value="{$account}"></span>
        <span><input type="submit" value="查询"></span>
    </form>
</div>
<div class="table data_table">
    <table id="userlist">
        <tr>
            <th>编号</th>
            <th>交易账号</th>
            <th>姓名</th>
            <th>用户名</th>
            <th>净值</th>
            <th>结余</th>
            <th>保证金</th>
            <th>可用保证金</th>
            <th>冻结保证金</th>
            <th>浮动盈亏</th>
            <th>风险率</th>
        </tr>
        {if $list}
        {foreach $list as $key=>$it}
        <tr>
            <td>{$it.id}</td>
            <td>{$it.account}</td>
            <td>{$it.user_name}</td>
            <td>{$it.user}</td>
            <td>{$it.net_value}</td>
            <td>{$it.re_value}</td>
            <td>{$it.bail_value}</td>
            <td>{$it.free_value}</td>
            <td>{$it.freeze_value}</td>
            <td>{$it.yk_value}</td>
            <td>{$it.risk}%</td>
        </tr>
        {/foreach}
        {/if}
    </table>
</div>

{if $list}
<div class="page">
    {$list->render()} <div class="page_record">共<strong>{$list->total()}</strong>条数据，每页显示：<strong>{$list->listRows()}</strong>条记录</div>
</div>
{/if}

{/block}

{block name="javascript"}
<script>



</script>
{/block}
